home *** CD-ROM | disk | FTP | other *** search
- #
- # (C) Tenable Network Security
- #
- #
- # The text of this plugin is (C) Red Hat Inc.
-
- if ( ! defined_func("bn_random") ) exit(0);
- if(description)
- {
- script_id(12428);
- script_version ("$Revision: 1.4 $");
- script_cve_id("CAN-2003-0853", "CAN-2003-0854");
-
- name["english"] = "RHSA-2003-310: fileutils";
-
- script_name(english:name["english"]);
-
- desc["english"] = '
-
- Updated fileutils packages that close a potential denial of service
- vulnerability are now available.
-
- The fileutils package contains several basic system utilities. One of
- these utilities is the "ls" program, which is used to list information
- about files and directories.
-
- Georgi Guninski discovered a memory starvation denial of service
- vulnerability in the ls program. It is possible to make ls allocate a
- huge amount of memory by specifying certain command line arguments. This
- vulnerability is remotely exploitable through services like wu-ftpd, which
- pass user arguments to ls. The Common Vulnerabilities and Exposures
- project (cve.mitre.org) has assigned the name CAN-2003-0854 to this issue.
-
- A non-exploitable integer overflow in ls has been discovered. It is
- possible to make ls crash by specifying certain command line arguments.
- This vulnerability is remotely exploitable through services like wu-ftpd,
- which pass user arguments to ls. The Common Vulnerabilities and Exposures
- project (cve.mitre.org) has assigned the name CAN-2003-0853 to this issue.
-
- Users are advised to update to these erratum packages, which contain
- backported security patches that correct these vulnerabilities.
-
- These packages also add support for the O_DIRECT flag, which controls the
- use of synchronous I/O on file systems such as OCFS.
-
-
-
-
- Solution : http://rhn.redhat.com/errata/RHSA-2003-310.html
- Risk factor : High';
-
- script_description(english:desc["english"]);
-
- summary["english"] = "Check for the version of the fileutils packages";
- script_summary(english:summary["english"]);
-
- script_category(ACT_GATHER_INFO);
-
- script_copyright(english:"This script is Copyright (C) 2004 Tenable Network Security");
- family["english"] = "Red Hat Local Security Checks";
- script_family(english:family["english"]);
-
- script_dependencies("ssh_get_info.nasl");
-
- script_require_keys("Host/RedHat/rpm-list");
- exit(0);
- }
-
- include("rpm.inc");
- if ( rpm_check( reference:"fileutils-4.1-10.4", release:"RHEL2.1") )
- {
- security_hole(0);
- exit(0);
- }
-
- if ( rpm_exists(rpm:"fileutils-", release:"RHEL2.1") )
- {
- set_kb_item(name:"CAN-2003-0853", value:TRUE);
- set_kb_item(name:"CAN-2003-0854", value:TRUE);
- }
-
- set_kb_item(name:"RHSA-2003-310", value:TRUE);
-